package com.bckj.fastboot.mq.ons;

import com.aliyun.openservices.ons.api.ExpressionType;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.stereotype.Component;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface OnsListener {
    String gid() default "";

    String topic() default "";

    String subExpression() default "*";

    ExpressionType type() default ExpressionType.TAG;
}
